<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>代理后台管理系统</title>
    <link href="{{url('css/app.css')}}" rel="stylesheet">
    <script src="{{url('js/app.js')}}"></script>
</head>
<body class="container">
<h1 class="text-center">用户登录</h1>
<div class="position-relative">
    @if (count($errors) > 0)
        <div class="alert alert-danger">
            <ul>
                @foreach ($errors->all() as $error)
                    <li>{{ $error }}</li>
                @endforeach
            </ul>
        </div>
    @endif
</div>
<form method="post" action="{{url('login')}}">
    <div class="form-group">
        <label>推广账号</label>
        <input type="text"  class="form-control" name="username" placeholder="推广账号"  autocomplete="off" required>
    </div>

    <div class="form-group">
        <label>登录密码</label>
        <input type="password" class="form-control" name="password" placeholder="登录密码"  autocomplete="off" required>
    </div>

    <div class="form-group">
        <button type="submit" class="btn btn-primary btn-block">登录</button>
        <input type="hidden" name="_token" value="{{csrf_token()}}">
    </div>

</form>


</body>
</html>